package org.lanzier.common.form;

import java.util.ArrayList;
import java.util.List;

/**
 * @author lansb
 *
 */
public class ResponseDataForm {
	public final static int SESSFUL = 1;
	public final static int FAULAIE = 2;
	public final static int EXCEPTION = 3;
	private PaginForm paginForm;
	private int result;
	private List<String> errorList;
	private Object ajaxObject;
	
	public ResponseDataForm() {
		errorList = new ArrayList<String>();
	}

	public PaginForm getPaginForm() {
		return paginForm;
	}

	public void setPaginForm(PaginForm paginForm) {
		this.paginForm = paginForm;
	}

	public List<String> getErrorList() {
		return errorList;
	}

	public void setErrorList(List<String> errorList) {
		this.errorList = errorList;
	}

	public Object getAjaxObject() {
		return ajaxObject;
	}

	public void setAjaxObject(Object ajaxObject) {
		this.ajaxObject = ajaxObject;
	}

	public int getResult() {
		return result;
	}

	public void setResult(int result) {
		this.result = result;
	}
	
}
